package com.sample.tdf.domain;


import cn.com.taiji.common.annotation.BaseJoinId;
import cn.com.taiji.common.base.BaseJoinDomain;
import cn.com.taiji.common.base.BaseJoinDomain_;
import cn.com.taiji.common.util.CommonJpaQueryWord;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.annotations.Where;

import javax.persistence.Entity;
import javax.persistence.Table;

@Data
@NoArgsConstructor
@Entity
@Table(name = "employeeDepartment")
/**
 * 级联实体
 */
public class EmployeeDepartment extends BaseJoinDomain {

    private static final long serialVersionUID = 7578292815541249813L;

    @BaseJoinId(index=BaseJoinId.Index.first)
    private String departmentId;

    @BaseJoinId(index=BaseJoinId.Index.second)
    private String employeeId;
}
